package com.yurun.service;

import com.yurun.entity.User;

import java.util.List;

public interface UserService {
    void addUser(User user);

    void deleteUserById(Long id);

    void updateUserAvatorById(Long id,String avator);

    List<User> getUserList();

    User findByUsernameAndPassword(String username,String password);
}
